package com.ms.p2p.provider.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.ms.p2p.bean.PageBean;
import com.ms.p2p.provider.RedPacketLogProvider;
import com.ms.p2p.service.impl.RedPacketLogServiceImpl;
import com.ms.p2p.service.impl.RedPacketServiceImpl;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by daimajia on 2015/4/19 添加dubbo接口.
 */
@Service
public class RedPacketLogProviderImpl implements RedPacketLogProvider {

    @Resource
    RedPacketLogServiceImpl redPacketLogService;

    public List findPager(PageBean page) {
        return redPacketLogService.findPager(page);
    }

    public int findCount() {
        return redPacketLogService.findCount();
    }
}
